.container {
  margin-bottom: 100rpx;
}

swiper {
  width: 100%;
  height: calc(750rpx * 800 / 800);
}

.service-policy {
  height: 73rpx;
  background: #f4f4f4;
  padding: 0 30rpx;
  display: flex;
  align-items: center;
  justify-content: space-between;
  .item {
    background: url(http://nos.netease.com/mailpub/hxm/yanxuan-wap/p/20150730/style/img/icon-normal/servicePolicyRed-518d32d74b.png) 0 center no-repeat;
    background-size: 10rpx;
    padding-left: 15rpx;
    display: flex;
    font-size: 25rpx;
    color: #666;
  }
}

.goods-info {
  padding: 20rpx 0;
  background: #fff;
  border-bottom: 1px solid #f4f4f4;
  .wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    .name {
      font-size: 41rpx;
    }
    .desc {
      font-size: 24rpx;
      margin: 20rpx 0;
      color: #999;
    }
    .price {
      font-size: 35rpx;
      color: #b4282d;
    }
    .brand {
      margin-top: 20rpx;
      min-height: 40rpx;
      text {
        display: inline-block;
        padding: 0 30rpx 0 20rpx;
        line-height: 45rpx;
        border: 1px solid #f48f18;
        font-size: 25rpx;
        color: #f48f18;
        border-radius: 4px;
        background: url(http://nos.netease.com/mailpub/hxm/yanxuan-wap/p/20150730/style/img/icon-normal/detailTagArrow-18bee52dab.png) 92% center no-repeat;
        background-size: 10.75rpx 18.75rpx;
      }
    }
  }
}

.section-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  margin-bottom: 20rpx;
  padding: 30rpx;
  text {
    font-size: 29rpx;
    color: #333;
  }
  .iconfont {
    vertical-align: middle;
    font-size: 38rpx;
  }
}

// .section-act .t {
//   float: left;
//   display: flex;
//   align-items: center;
//   width: 600rpx;
//   height: 108rpx;
//   overflow: hidden;
//   line-height: 108rpx;
//   font-size: 29rpx;
//   color: #999;
//   margin-left: 31.25rpx;
// }

// .section-act .label {
//   color: #999;
// }

// .section-act .tag {
//   display: flex;
//   align-items: center;
//   padding: 0 10rpx;
//   border-radius: 3px;
//   height: 37rpx;
//   width: auto;
//   color: #f48f18;
//   overflow: hidden;
//   border: 1px solid #f48f18;
//   font-size: 25rpx;
//   margin: 0 10rpx;
// }

// .section-act .text {
//   display: flex;
//   align-items: center;
//   height: 37rpx;
//   width: auto;
//   overflow: hidden;
//   color: #f48f18;
//   font-size: 29rpx;
// }

.comments {
  width: 100%;
  padding: 0 30rpx;
  background: #fff;
  margin: 20rpx 0;
  .header {
    height: 90rpx;
    line-height: 90rpx;
    border-bottom: 1px solid #d9d9d9;
    navigator {
      height: 100%;
      display: flex;
      justify-content: space-between;
      .text {
        font-size: 30rpx;
        color: #333;
      }
      .icon {
        display: flex;
      }
    }
  }
  .content-wrap {
    padding-bottom: 25rpx;
    .item {
      .info {
        height: 100rpx;
        display: flex;
        justify-content: space-between;
        align-items: center;
        .user {
          display: flex;
          align-items: center;
          font-size: 0;
          image {
            width: 67rpx;
            height: 67rpx;
            margin-right: 20rpx;
            border-radius: 50%;
          }
          text {
            font-size: 29rpx;
          }
          .time {
            color: #7f7f7f;
            font-size: 25rpx;
          }
        }
      }
      .content {
        font-size: 29rpx;
        margin-bottom: 20rpx;
      }
      .pics {
        image {
          height: 150rpx;
          width: 150rpx;
          margin-right: 28rpx;
        }
      }
    }
  }
}

.goods-attr {
  overflow: hidden;
  padding: 0 31.25rpx 25rpx 31.25rpx;
  background: #fff;
  .title {
    height: 100rpx;
    line-height: 100rpx;
    font-size: 34rpx;
  }
  .item {
    display: flex;
    height: 60rpx;
    line-height: 60rpx;
    overflow: hidden;
    margin-bottom: 10rpx;
    background: #f5f5f5;
    .attr-name {
      width: 130rpx;
      margin-left: 20rpx;
      font-size: 25rpx;
      color: #999;
    }
    .attr-content {
      flex: 1;
      font-size: 25rpx;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      color: #333;
    }
  }
}

.detail {
  .rich-image {
    width: 100%;
    display: block;
  }
}

.common-problem {
  overflow: hidden;
  .header {
    position: relative;
    height: 145rpx;
    background: #fff;
    text-align: center;
    .line {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%);
      height: 1px;
      width: 300rpx;
      background: #ccc;
    }
    .title {
      position: absolute;
      top: 36%;
      left: 50%;
      transform: translate(-50%);
      z-index: 3;
      background: #fff;
    }
  }
  .wrap {
    padding: 0rpx 30rpx;
    background: #fff;
    .item {
      padding-bottom: 25rpx;
      .question-box {
        display: flex;
        align-items: center;
        margin-bottom: 10rpx;
        .spot {
          height: 8rpx;
          width: 8rpx;
          background: #b4282d;
          border-radius: 50%;
        }
        .question {
          padding-left: 8rpx;
          font-size: 26rpx;
          color: #303030;
        }
      }
      .answer {
        margin-left: 16rpx;
        font-size: 26rpx;
        color: #787878;
      }
    }
  }
}

.related-goods {
  width: 750rpx;
  height: auto;
  overflow: hidden;
  .header {
    position: relative;
    height: 145rpx;
    background: #fff;
    text-align: center;
    border-bottom: 1px solid #f4f4f4;
    .line {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%);
      height: 1px;
      width: 300rpx;
      background: #ccc;
    }
    .title {
      position: absolute;
      top: 36%;
      left: 50%;
      transform: translate(-50%);
      z-index: 3;
      background: #fff;
    }
  }
  .wrap {
    display: flex;
    flex-wrap: wrap;
    .item {
      width: 50%;
      background: #fff;
      border-right: 1px solid #f4f4f4;
      border-bottom: 1px solid #f4f4f4;
      navigator {
        display: flex;
        flex-direction: column;
        align-items: center;
        image {
          width: 300rpx;
          height: 300rpx;
        }
        .name {
          width: 100%;
          padding: 0 20rpx;
          text-align: center;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
          font-size: 30rpx;
          color: #333;
        }
        .price {
          margin: 20rpx 0;
          font-size: 30rpx;
          color: #b4282d;
        }
      }
    }
  }
}

.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 10;
  width: 750rpx;
  height: 100rpx;
  line-height: 100rpx;
  display: flex;
  text-align: center;
  box-shadow: 0 0 6rpx 2rpx #eee;
  background: #fff;
  .collect {
    height: 100%;
    flex: 2;
    border-right: 1px solid #f1f1f1;
    .iconfont {
      font-size: 50rpx;
    }
    .icon-shoucang {
      color: rgb(255, 153, 0);
    }
  }
  .cart {
    position: relative;
    height: 100%;
    flex: 2;
    border-right: 1px solid #f1f1f1;
    .cart-count {
      position: absolute;
      top: 15rpx;
      right: 35rpx;
      width: 28rpx;
      height: 28rpx;
      line-height: 28rpx;
      text-align: center;
      font-size: 18rpx;
      border-radius: 50%;
      color: #fff;
      background: #b4282d;
    }
    .iconfont {
      font-size: 50rpx;
    }
  }
  .buy-now {
    flex: 3;
  }
  .add-cart {
    flex: 3;
    color: #fff;
    background: #b4282d;
  }
}

.attr-pop-box {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 8;
  .mask-box {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
  }
  .attr-pop {
    width: 100%;
    max-height: 780rpx;
    padding: 30rpx;
    background: #fff;
    position: fixed;
    bottom: 0;
    z-index: 9;
    bottom: 100rpx;
    .close {
      position: absolute;
      right: 32rpx;
      top: 32rpx;
      .iconfont {
        font-size: 38rpx;
      }
    }
    .goods-info {
      display: flex;
      align-items: center;
      margin-bottom: 40rpx;
      image {
        height: 177rpx;
        width: 177rpx;
        background: #f4f4f4;
        margin-right: 30rpx;
      }
      .info {
        view {
          font-size: 29rpx;
          color: #333;
        }
        .price {
          font-size: 33rpx;
          margin-bottom: 10rpx;
          text {
            color: red;
          }
        }
      }
    }
    .spec-con {
      .name {
        margin-bottom: 22rpx;
        font-size: 29rpx;
        color: #333;
      }
      .wrap {
        margin-bottom: 30rpx;
        .item {
          display: inline-block;
          height: 60rpx;
          line-height: 60rpx;
          text-align: center;
          padding: 0 35rpx;
          margin: 0 25rpx 16rpx 0;
          border: 1px solid #333;
          font-size: 25rpx;
          color: #333;
        }
        .disable {
          border: 1px solid #ccc;
          color: #ccc;
        }
        .selected {
          border: 1px solid #b4282d;
          color: #b4282d;
        }
      }
    }
    .number-item {
      .selnum {
        width: 322rpx;
        height: 70rpx;
        line-height: 70rpx;
        border: 1px solid #ccc;
        display: flex;
        text-align: center;
        .cut,
        .add {
          width: 90rpx;
          line-height: 70rpx;
          font-weight: 400;
          padding: 0;
        }
        .number {
          flex: 1;
          height: 100%;
          border-left: 1px solid #ccc;
          border-right: 1px solid #ccc;
        }
      }
    }
  }
}
